package com.qf.lw.service;

import com.qf.lw.entity.AdminEntity;
import com.qf.lw.pojo.AdminPojo;

import java.util.List;

public interface IAdminService {



    //查询所有用户的信息
    public List<AdminPojo> qureyAdminList(AdminEntity adminEntity);
    //管理员登陆
    //根据用户的用户名和密码，级联查询用户的角色和权限
    public AdminPojo login(AdminEntity adminEntity);

    //跟据用户的id去查询用户所有的角色和权限
    public AdminPojo queryAuthById(String aid);

    public boolean delAdmins(String[] ids);

    public boolean adminAdd(AdminEntity adminEntity);

    public boolean updateAdmin(AdminEntity adminEntity) ;
}
